package com.betterjr.modules.accountSupervision.entity;

import java.math.BigDecimal;


/**
 * 还款监控bean
 */
public class ScfRepaymentBean implements java.io.Serializable{
    /***放款id*/
    private  Long id;
    /***供应商*/
    private  String supplierName;
    /***供应商代码*/
    private  String supplierNo;
    /***核心企业名称*/
    private  String coreCompanyName;
    /***还款本金*/
    private BigDecimal repaymentPrincipal;
    /***还款利息*/
    private BigDecimal repaymentInterest;
    /***应还金额 = 还款本金+还款利息*/
    private BigDecimal cutpaymentMoney;
    /***还本日期*/
    private String cutpaymentDate;
    /**还息日期*/
    private String repaymentInterestDate;
    /***实还金额*/
    private BigDecimal repaymentMoney;
    /***还款状态*/
    private String repaymentStatus;
    /***还款状态*/
    private String repaymentStatusName;
    /***还款方式*/
    private String repaymentMode = "现金转账";
    /***还款账号*/
    private String payAccountNo;
    /***还款开户行*/
    private String payAccountBank;
    /***还款账户名称*/
    private String payAccountName;
    /***本息结清标志*/
    private String settlementFlag;
    /***实际还款日期*/
    private String  realRepaymentDate;
    /***合同号*/
    private String contractNo;
    /***资金提供方*/
    private String fundProviderName;
    /***资金提供方id*/
    private String fundProviderId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getSupplierNo() {
        return supplierNo;
    }

    public void setSupplierNo(String supplierNo) {
        this.supplierNo = supplierNo;
    }

    public String getCoreCompanyName() {
        return coreCompanyName;
    }

    public void setCoreCompanyName(String coreCompanyName) {
        this.coreCompanyName = coreCompanyName;
    }

    public BigDecimal getRepaymentPrincipal() {
        return repaymentPrincipal;
    }

    public void setRepaymentPrincipal(BigDecimal repaymentPrincipal) {
        this.repaymentPrincipal = repaymentPrincipal;
    }

    public BigDecimal getRepaymentInterest() {
        return repaymentInterest;
    }

    public void setRepaymentInterest(BigDecimal repaymentInterest) {
        this.repaymentInterest = repaymentInterest;
    }

    public BigDecimal getCutpaymentMoney() {
        return cutpaymentMoney;
    }

    public void setCutpaymentMoney(BigDecimal cutpaymentMoney) {
        this.cutpaymentMoney = cutpaymentMoney;
    }

    public String getCutpaymentDate() {
        return cutpaymentDate;
    }

    public void setCutpaymentDate(String cutpaymentDate) {
        this.cutpaymentDate = cutpaymentDate;
    }

    public BigDecimal getRepaymentMoney() {
        return repaymentMoney;
    }

    public void setRepaymentMoney(BigDecimal repaymentMoney) {
        this.repaymentMoney = repaymentMoney;
    }

    public String getRepaymentStatus() {
        return repaymentStatus;
    }

    public void setRepaymentStatus(String repaymentStatus) {
        this.repaymentStatus = repaymentStatus;
        switch (this.repaymentStatus){
            case "-1" : this.repaymentStatusName = "进行中";
                break;
            case "0" : this.repaymentStatusName = "完成";
                break;
            case "1" : this.repaymentStatusName = "部分完成";
                break;
            case "2" : this.repaymentStatusName = "逾期";
                break;
            default: this.repaymentStatusName ="";
        }
    }

    public String getRepaymentStatusName() {
        return repaymentStatusName;
    }

    public void setRepaymentStatusName(String repaymentStatusName) {
        this.repaymentStatusName = repaymentStatusName;
    }

    public String getRepaymentMode() {
        return repaymentMode;
    }

    public void setRepaymentMode(String repaymentMode) {
        this.repaymentMode = repaymentMode;
    }

    public String getPayAccountNo() {
        return payAccountNo;
    }

    public void setPayAccountNo(String payAccountNo) {
        this.payAccountNo = payAccountNo;
    }

    public String getPayAccountBank() {
        return payAccountBank;
    }

    public void setPayAccountBank(String payAccountBank) {
        this.payAccountBank = payAccountBank;
    }

    public String getPayAccountName() {
        return payAccountName;
    }

    public void setPayAccountName(String payAccountName) {
        this.payAccountName = payAccountName;
    }

    public String getSettlementFlag() {
        return settlementFlag;
    }

    public void setSettlementFlag(String settlementFlag) {
        this.settlementFlag = settlementFlag;
    }

    public String getRealRepaymentDate() {
        return realRepaymentDate;
    }

    public void setRealRepaymentDate(String realRepaymentDate) {
        this.realRepaymentDate = realRepaymentDate;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getRepaymentInterestDate() {
        return repaymentInterestDate;
    }

    public void setRepaymentInterestDate(String repaymentInterestDate) {
        this.repaymentInterestDate = repaymentInterestDate;
    }

    public String getFundProviderName() {
        return fundProviderName;
    }

    public void setFundProviderName(String fundProviderName) {
        this.fundProviderName = fundProviderName;
    }

    public String getFundProviderId() {
        return fundProviderId;
    }

    public void setFundProviderId(String fundProviderId) {
        this.fundProviderId = fundProviderId;
    }
}
